import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/base/Teacher/list',
    method: 'get',
    params: params
  })
}

export function info(params) {
  return request({
    url: '/base/Teacher/info',
    method: 'get',
    params: params
  })
}

export function add(data) {
  return request({
    url: '/base/Teacher/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/base/Teacher/edit',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/base/Teacher/del',
    method: 'post',
    data
  })
}

export function multiDelete(data) {
  return request({
    url: '/base/Teacher/multiDelete',
    method: 'post',
    data
  })
}

export function download() {
  return request({
    url: '/base/Teacher/download',
    method: 'get',
    responseType: 'blob'
  })
}

export function init(data) {
  return request({
    url: '/base/Teacher/init',
    method: 'post',
    data
  })
}
